home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Info 1994 March
/
Internet Info CD-ROM (Walnut Creek) (March 1994).iso
/
networking
/
ip
/
ka9q
/
xobbs.arc
/
makefile
< prev
next >
Wrap
Makefile
|
1989-05-06
|
1KB
|
54 lines
# Makefile for W2XO Unix BBS Version 1.0 May 25, 1988
# hacked considerably by N3EUA for simplicity
# set HOMEDIR to directory PBBS will live in
HOMEDIR = /usr/packet
SHELL = /bin/sh
CFLAGS = -g -DHOMEDIR=\"$(HOMEDIR)/\"
#CC = mcc
CC = cc
SRCS = xomain.c xocmd.c xoio.c xodir.c xofiles.c xomail.c xomisc.c \
xotime.c xouser.c xofwd.c xocommon.c
SRCS2 = maildaemon.c xocommon.c
SRCS3 = makhdrfil.c xocommon.c
OBJS = xomain.o xocmd.o xoio.o xodir.o xofiles.o xomail.o xomisc.o \
xotime.o xouser.o xofwd.o xocommon.o
OBJS2 = maildaemon.o xocommon.o
OBJS3 = makhdrfil.o xocommon.o
DEPENDS = xobbs.h
LINTFLAGS = -u
TARGETS = xobbs maildaemon makhdrfil trigger
all: $(TARGETS)
$(OBJS): $(DEPENDS)
install: $(TARGETS)
mv $(TARGETS) $(HOMEDIR)
xobbs: $(OBJS)
$(CC) $(CFLAGS) -o xobbs $(OBJS)
maildaemon: $(OBJS2)
$(CC) $(CFLAGS) -o maildaemon $(OBJS2)
makhdrfil: $(OBJS3)
$(CC) $(CFLAGS) -o makhdrfil $(OBJS3)
trigger: trigger.c
$(CC) $(CFLAGS) -o trigger trigger.c
lint: $(SRCS) $(SRCS2)
lint $(LINTFLAGS) $(SRCS) > line.out 2>&1
lint $(LINTFLAGS) $(SRCS2) > line2.out 2>&1
lint $(LINTFLAGS) $(SRCS3) > line3.out 2>&1
clean:
rm -f $(TARGETS) *.o